@import "../styles/global.scss";

div.report-container {

  height: 100%;
  overflow: auto;
  box-sizing: border-box;

  .report-title {
    width: 100%;
    height: 80px;
    font-size: 30px;
    .report-title-input {
      width: 500px;
    }
  }

  .report {
    width: 100%;
    position: relative;
    margin-top: 16px;
    background: url('') -9px -9px/20px;

    .layout-row {
      margin: 5px 0;
      &:after {
        content: ".";
        display: block;
        height: 0;
        clear: both;
        visibility: hidden;
      }
      .row-controller-bar {
        //background-color: #cccccc;
        border-bottom: 1px solid #E3E3E3;

        color: #6D7C8B;
        justify-content: space-between;
        height: 32px;
        line-height: 32px;
        top: -32px;
        .bar-info-box {
          max-width: 50%;
          .bar-layout-info {
            margin: 0 5px;
          }
        }
        .bar-btn-box {
          .align-type-item {
            display: inline-block;
            padding: 0 5px;
            line-height: 28px;
            &.active {
              color: #419EFF;
              border-bottom: 3px solid #419EFF;
            }
          }
        }
      }

      .layout-col-box {
        float: left;
        min-height: 100px;
        min-width: 100px;
        background-position: bottom center;
        background-repeat: no-repeat;
        border: 1px solid #E6E9EB;
        margin: 5px 7.5px;
        &:focus-within {
          border-color: #357de9;
          outline: none;
          &::after {
            content: '';
            cursor: nw-resize;
            display: block;
            width: 10px;
            height: 10px;
            background-color: #357de9;
            position: absolute;
            right: 0;
            bottom: 0;
          }
          .resize-border {
            background: #357de9;
          }
        }
        &:hover .remove {
          display: block;
        }
        .col-controller-bar {
          padding: 4px 0;
          line-height: 32px;
          background-color: #cccccc;
          color: black;
          justify-content: space-between;
          .bar-title-box {
            margin: 0 5px;
            max-width: 35%;
          }
        }
      }
    }
  }
  .ps-f {
    position: fixed;
  }
  .drag-report-add-box {
    height: calc(100vh - 50px);
    width: 50%;
    padding: 20px 10px;
    box-sizing: border-box;
    overflow: hidden;
    background-color: white;
    justify-content: flex-start;
    flex-wrap: wrap;
    flex-flow: column;
    box-shadow: 0px 0px 5px #9e9e9e;
    .title-box {
      font-size: 1.80px;
    }
  }

  //.add-row-icon {
  //  margin-top: 50px;
  //  right: 10px;
  //  top: 15%;
  //  z-index: 100;
  //}
  //.add-col-icon {
  //  right: 10px;
  //  top: 15%;
  //  z-index: 100;
  //}
  //.preview-icon {
  //  top: 70%;
  //  right: 10px;
  //  z-index: 100;
  //}
  //.return-icon {
  //  top: 70%;
  //  margin-top: -50px;
  //  right: 10px;
  //  z-index: 100;
  //}
}
